class Terrain(object):
    passable = True

    @classmethod
    def can_pass(cls, entity):
        return cls.passable


class Wall(Terrain):
    passable = False


class Floor(Terrain):
    pass


class Start(Terrain):
    pass


class Exit(Terrain):
    pass
